curdir=$(pwd)
###################
export proj=Cosmic 
export files=$(find /u/xlu/.task/dedx/Cosmic/2011Data/*kG*{IN,OUT}.root)
export hhs=$(seq 0 50) 
export len=11

mkdir $proj
cd $proj
/u/xlu/.task/dedx/dosub.sh
cd $curdir

#exit

###################
export proj=pp
export files=$(find /u/xlu/.task/dedx/pp/hist/pfm/6tracklet/pp7TeV.root)
export hhs=$(seq 0 70)
export len=6

mkdir $proj
cd $proj
/u/xlu/.task/dedx/dosub.sh
cd $curdir

#exit

##########
export proj=testBeam
export files=$(find /u/xlu/.task/dedx/testBeam/hist/*.root | sort -r)
export hhs=$(seq 0 30)
export len=8

mkdir $proj
cd $proj
/u/xlu/.task/dedx/dosub.sh
cd $curdir

exit

#################

export proj=MCTRD

export FitOpt=Fast

export files=$(find /u/xlu/.task/MCTRD/myRawAnaData/pathlenn2500So_23_Okt_19_44_17_CEST_2011/analysis/sumdeMCv0.root)

export hhs=$(seq 0 120) 
export len=11 

/u/xlu/.task/dedx/dosub.sh

exit

###

###

#LowStatTestBeam
#files=$(find /u/xlu/.task/dedx/LowStatTestBeam/data_2011-04-26 | grep root)

